// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:14

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   ot.java

package com.zelix;

import java.io.DataInputStream;
import java.io.IOException;

// Referenced classes of package com.zelix:
//            kt, sx, jb

public class ot extends kt
{

    static final sx k;
    static final sx l;
    static final sx m;
    static final sx n;
    private int o;
    private static String z[];

    public ot(kt kt1)
    {
        super(kt1);
        o = 0;
    }

    public ot(kt kt1, int i1)
    {
        super(kt1);
        o = i1;
    }

    ot(kt kt1, jb jb)
        throws IOException
    {
        super(kt1);
        o = jb.readUnsignedShort();
    }

    public Object clone()
    {
        return new ot(n(), o);
    }

    public final int a()
    {
        return o;
    }

    public String q()
    {
        return a(false);
    }

    public static String a(int i1, int j1, boolean flag)
    {
        return a(i1, j1, flag, false);
    }

    public static String a(int i1, int j1, boolean flag, boolean flag1)
    {
        StringBuffer stringbuffer;
        int k1;
label0:
        {
            k1 = kt.i;
            stringbuffer = new StringBuffer();
            if(i(i1))
            {
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[15]);
                stringbuffer.append(" ");
            }
            if(h(i1))
            {
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[17]);
                stringbuffer.append(" ");
            }
            if(g(i1))
            {
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[13]);
                stringbuffer.append(" ");
            }
            if((j1 == 1 || j1 == 3) && b(i1))
            {
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[14]);
                stringbuffer.append(" ");
            }
            if((j1 == 2 || j1 == 3) && j(i1))
            {
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[3]);
                stringbuffer.append(" ");
            }
            if(c(i1))
            {
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[16]);
                stringbuffer.append(" ");
            }
            if(j1 == 3)
            {
                if(!l(i1))
                    break label0;
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[0]);
                stringbuffer.append(" ");
                if(k1 == 0)
                    break label0;
            }
            if(j1 == 1 && flag && k(i1))
            {
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[1]);
                stringbuffer.append(" ");
            }
        }
label1:
        {
            if(j1 == 3)
            {
                if(!e(i1))
                    break label1;
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[12]);
                stringbuffer.append(" ");
                if(k1 == 0)
                    break label1;
            }
            if(j1 == 2 && flag && p(i1))
            {
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[10]);
                stringbuffer.append(" ");
            }
        }
label2:
        {
            if(j1 == 2)
            {
                if(!n(i1))
                    break label2;
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[9]);
                stringbuffer.append(" ");
                if(k1 == 0)
                    break label2;
            }
            if(j1 == 3 && flag && o(i1))
            {
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[8]);
                stringbuffer.append(" ");
            }
        }
label3:
        {
            if(j1 == 2)
            {
                if(!m(i1))
                    break label3;
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[2]);
                stringbuffer.append(" ");
                if(k1 == 0)
                    break label3;
            }
            if(j1 == 3 && flag && s(i1))
            {
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[6]);
                stringbuffer.append(" ");
            }
        }
label4:
        {
            if(flag && d(i1))
            {
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[11]);
                stringbuffer.append(" ");
            }
            if(j1 == 1)
            {
                if(!flag || !a(i1))
                    break label4;
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[5]);
                stringbuffer.append(" ");
                if(k1 == 0)
                    break label4;
            }
            if(j1 == 3 && flag && q(i1))
            {
                if(flag1)
                    stringbuffer.append("!");
                stringbuffer.append(z[7]);
                stringbuffer.append(" ");
            }
        }
        if(flag && r(i1))
        {
            if(flag1)
                stringbuffer.append("!");
            stringbuffer.append(z[4]);
            stringbuffer.append(" ");
        }
        return stringbuffer.toString();
    }

    public final String a(boolean flag)
    {
        return a(o, b(), flag);
    }

    public final boolean r()
    {
        return b(o);
    }

    public static boolean b(int i1)
    {
        return (i1 & 0x400) != 0;
    }

    public final boolean a()
    {
        return a(o);
    }

    public static boolean a(int i1)
    {
        return (i1 & 0x2000) != 0;
    }

    public final boolean b()
    {
        return o(o);
    }

    public static boolean o(int i1)
    {
        return (i1 & 0x40) != 0;
    }

    public final boolean c()
    {
        return p(o);
    }

    public static boolean p(int i1)
    {
        return (i1 & 0x4000) != 0;
    }

    public final boolean s()
    {
        return c(o);
    }

    public static boolean c(int i1)
    {
        return (i1 & 0x10) != 0;
    }

    public final boolean t()
    {
        return d(o);
    }

    public static boolean d(int i1)
    {
        return (i1 & 0x200) != 0;
    }

    public final boolean u()
    {
        return e(o);
    }

    public static boolean e(int i1)
    {
        return (i1 & 0x100) != 0;
    }

    public static boolean f(int i1)
    {
        return (i1 & 7) == 0;
    }

    public final boolean v()
    {
        return g(o);
    }

    public static boolean g(int i1)
    {
        return (i1 & 2) != 0;
    }

    public final boolean w()
    {
        return h(o);
    }

    public static boolean h(int i1)
    {
        return (i1 & 4) != 0;
    }

    public final boolean x()
    {
        return i(o);
    }

    public static boolean i(int i1)
    {
        return (i1 & 1) != 0;
    }

    public final boolean y()
    {
        return j(o);
    }

    public static boolean j(int i1)
    {
        return (i1 & 8) != 0;
    }

    public static boolean q(int i1)
    {
        return (i1 & 0x800) != 0;
    }

    public final boolean z()
    {
        return k(o);
    }

    public static boolean k(int i1)
    {
        return (i1 & 0x20) != 0;
    }

    public final boolean A()
    {
        return l(o);
    }

    public static boolean l(int i1)
    {
        return (i1 & 0x20) != 0;
    }

    public final boolean d()
    {
        return r(o);
    }

    public static boolean r(int i1)
    {
        return (i1 & 0x1000) != 0;
    }

    public final boolean B()
    {
        return m(o);
    }

    public static boolean m(int i1)
    {
        return (i1 & 0x80) != 0;
    }

    public final boolean e()
    {
        return s(o);
    }

    public static boolean s(int i1)
    {
        return (i1 & 0x80) != 0;
    }

    public final boolean C()
    {
        return n(o);
    }

    public static boolean n(int i1)
    {
        return (i1 & 0x40) != 0;
    }

    public static int o(int i1)
    {
        return a(i1, true);
    }

    public static int a(int i1, boolean flag)
    {
label0:
        {
            if(flag)
            {
                i1 |= 0x400;
                if(kt.i == 0)
                    break label0;
            }
            i1 &= 0xfffffbff;
        }
        return i1;
    }

    void p(int i1)
    {
        o = i1;
    }

    public static int i(int i1, boolean flag)
    {
label0:
        {
            if(flag)
            {
                i1 |= 0x2000;
                if(kt.i == 0)
                    break label0;
            }
            i1 &= 0xffffdfff;
        }
        return i1;
    }

    public final void a(boolean flag)
    {
        o = i(o, flag);
    }

    public static int j(int i1, boolean flag)
    {
label0:
        {
            if(flag)
            {
                i1 |= 0x40;
                if(kt.i == 0)
                    break label0;
            }
            i1 &= 0xffffffbf;
        }
        return i1;
    }

    public final void d(boolean flag)
    {
        o = j(o, flag);
    }

    public static int k(int i1, boolean flag)
    {
label0:
        {
            if(flag)
            {
                i1 |= 0x4000;
                if(kt.i == 0)
                    break label0;
            }
            i1 &= 0xffffbfff;
        }
        return i1;
    }

    public final void e(boolean flag)
    {
        o = k(o, flag);
    }

    public static int q(int i1)
    {
        return b(i1, true);
    }

    public static int b(int i1, boolean flag)
    {
label0:
        {
            if(flag)
            {
                i1 |= 0x10;
                if(kt.i == 0)
                    break label0;
            }
            i1 &= 0xffffffef;
        }
        return i1;
    }

    public final void b(boolean flag)
    {
        o = b(o, flag);
    }

    public static int r(int i1)
    {
        return c(i1, true);
    }

    public static int c(int i1, boolean flag)
    {
label0:
        {
            if(flag)
            {
                i1 |= 0x200;
                if(kt.i == 0)
                    break label0;
            }
            i1 &= 0xfffffdff;
        }
        return i1;
    }

    public static int s(int i1)
    {
        return d(i1, true);
    }

    public static int d(int i1, boolean flag)
    {
label0:
        {
            if(flag)
            {
                i1 |= 0x100;
                if(kt.i == 0)
                    break label0;
            }
            i1 &= 0xfffffeff;
        }
        return i1;
    }

    public final void D()
    {
        o = t(o);
    }

    public static int t(int i1)
    {
        i1 &= -8;
        return i1;
    }

    public final void E()
    {
        o = u(o);
    }

    public static int u(int i1)
    {
        i1 &= -8;
        i1 |= 2;
        return i1;
    }

    public static int v(int i1)
    {
        i1 &= -8;
        i1 |= 4;
        return i1;
    }

    public final void F()
    {
        o = w(o);
    }

    public static int w(int i1)
    {
        i1 &= -8;
        i1 |= 1;
        return i1;
    }

    public static int x(int i1)
    {
        i1 |= 2;
        return i1;
    }

    public static int y(int i1)
    {
        i1 |= 4;
        return i1;
    }

    public static int z(int i1)
    {
        i1 |= 1;
        return i1;
    }

    public static int A(int i1)
    {
        return e(i1, true);
    }

    public static int e(int i1, boolean flag)
    {
label0:
        {
            if(flag)
            {
                i1 |= 8;
                if(kt.i == 0)
                    break label0;
            }
            i1 &= -9;
        }
        return i1;
    }

    public final void c(boolean flag)
    {
        o = e(o, flag);
    }

    public static int B(int i1)
    {
        return f(i1, true);
    }

    public static int f(int i1, boolean flag)
    {
label0:
        {
            if(flag)
            {
                i1 |= 0x20;
                if(kt.i == 0)
                    break label0;
            }
            i1 &= 0xffffffdf;
        }
        return i1;
    }

    public static int l(int i1, boolean flag)
    {
label0:
        {
            if(flag)
            {
                i1 |= 0x1000;
                if(kt.i == 0)
                    break label0;
            }
            i1 &= 0xffffefff;
        }
        return i1;
    }

    public final void f(boolean flag)
    {
        o = l(o, flag);
    }

    public static int C(int i1)
    {
        return g(i1, true);
    }

    public static int g(int i1, boolean flag)
    {
label0:
        {
            if(flag)
            {
                i1 |= 0x80;
                if(kt.i == 0)
                    break label0;
            }
            i1 &= 0xffffff7f;
        }
        return i1;
    }

    public static int m(int i1, boolean flag)
    {
label0:
        {
            if(flag)
            {
                i1 |= 0x80;
                if(kt.i == 0)
                    break label0;
            }
            i1 &= 0xffffff7f;
        }
        return i1;
    }

    public final void g(boolean flag)
    {
        o = m(o, flag);
    }

    public static int D(int i1)
    {
        return h(i1, true);
    }

    public static int h(int i1, boolean flag)
    {
label0:
        {
            if(flag)
            {
                i1 |= 0x40;
                if(kt.i == 0)
                    break label0;
            }
            i1 &= 0xffffffbf;
        }
        return i1;
    }

        private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x46;
                    break;
                case 1:
                    key = 61;
                    break;
                case 2:
                    key = 42;
                    break;
                case 3:
                    key = 50;
                    break;
                default:
                    key = 86;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        String as[];
        as = new String[18];
        as[0] = "5DDQ>4RD[,#Y";
        as[1] = "5HZW$";
        as[2] = "2OK\\%/XDF";
        as[3] = "5IKF?%";
        as[4] = "5DDF>#ICQ";
        as[5] = "'SD]\"'IC]8";
        as[6] = "0\\XS$!N";
        as[7] = "5IX[52";
        as[8] = "$OCV1#";
        as[9] = "0RFS\"/QO";
        as[10] = "#S__";
        as[11] = "/S^W$ \\IW";
        as[12] = "(\\^[ #";
        as[13] = "6OCD72X";
        as[14] = "'_YF$'^^";
        as[15] = "6HH^?%";
        as[16] = " TDS:";
        as[17] = "6OEF3%IOV";
        for (int i = 0; i < as.length; i++) {
            as[i] = z(as[i].toCharArray());
        }
        z = as;
        k = new sx(1);
        l = new sx(2);
        m = new sx(3);
        n = new sx(4);
    }
}